package com.eee.machine.service;

import com.eee.machine.common.OperateResponse;
import com.eee.machine.common.TableData;
import net.sf.json.JSONObject;

import java.util.List;

public interface IMachineService {

    TableData getAllMachine(int page, int pageSize);

    OperateResponse bindingMember(String Phone, String machineId);

    OperateResponse deliverGood(String machineId, String lingSort, String itemId, Integer num);

    JSONObject malfunction(String machineId, String errorCode);

    JSONObject getOrder(String machineId);

    OperateResponse recover(List<String> machineIds);

    JSONObject updateOrder(String machineId, String tradeNo, Integer state, Integer lineSort, Integer count);
}
